package
{
	import flash.utils.Dictionary;

	[Bindable]
	public class GlobalObject
	{
		public static var currentOperater:OperateEnum = OperateEnum.USER;
		
		public function GlobalObject()
		{
			throw new Error("这是一个纯粹的静态类，请不要试图实例化它。。");
		}
		
		public static function setCurrentOperater(operate:OperateEnum):void {
			currentOperater = operate;
			MyAppFacade.getInstance().sendNotification(EasyMediator.CHANGE_VIEW);
		}
		
	}
}